﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FXnaAppBase;

namespace GWApplication
{
    public class ModflowRunData:RunData
    {

        public ModflowRunData()
        {

            RunCommand rc = new RunCommand("mf2005.exe", "solution.nam","");

            this._commands.Add(rc);

        }


        public override void BeforeRun()
        {
            base.BeforeRun();

            //设置对应的路径，并输出对应的文件参数

            string path = ProjectService.CurrentService.GetProjPath(ProjPath.ModflowInput);

            ProjectService.CurrentService.Project.ModelData.ModflowModel.WriteInpFiles(path);


            //还需要包含对应的放置dos程序的代码

            //可能的清楚结果数据文件的代码






        }

        public override void AfterRun()
        {
            base.AfterRun();
        }

    }
}
